package com.yourenbang.lingyun.transaction.util.yunhuisuan;

import lombok.Data;

@Data
public class DefaultResult {
    private String code;
    private String msg;
    private String data;

    public boolean isSuccess() {
        return "000000".equals(this.getCode());
    }

    public String toString() {
        return "DefaultResult(code=" + this.getCode() + ", message=" + this.getMsg() + ", data=" + this.getData() + ")";
    }
}
